
#include <windows.h>
#include "netlistmgr.h"
#include "EventSink.h"

//#define UNICODE
#define	UM_NETWORKMONITOR	(WM_USER + 0x010)

#define	EVT_NETWORKMONITOR	_T("Event_Network_Monitor")


//HRESULT EventTest();
void ShowInfoForNetworkConnection(INetworkConnection* pNetworkConnection);
void ShowNetworkConnections(IEnumNetworkConnections* pEnum);
void ShowInfoForNetwork(INetwork* pNetwork);
void ShowNetworks();
HRESULT IsConnected(LPBOOL pbIsConnected);

CComBSTR NLM_CONNECTIVITY_ToString(NLM_CONNECTIVITY nlmConnectivity);
CComBSTR NLM_NETWORK_PROPERTY_CHANGE_ToString(NLM_NETWORK_PROPERTY_CHANGE nlmNetworkPropertyChange);
CComBSTR NLM_CONNECTION_PROPERTY_CHANGE_ToString(NLM_CONNECTION_PROPERTY_CHANGE nlmConnectionPropertyChange);
CComBSTR GetSzGuid(GUID gdGuid);

UINT NetworkThreadFunc(LPVOID pParam);

extern CComModule _Module;
